<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\Route;
Route::post([
    'login'  =>  'api/login/index',
    'reg'    =>  'api/user/reg',
    'user'    =>  'api/user/index',
    'update'    =>  'api/user/update',
    'car' =>  'api/user/car',
    'changeCar' => 'api/user/changeCar',
    'delCar' => 'api/user/delCar',
    'format'   =>  'api/index/format',
    'order'     => 'api/index/order',
    'addAddress' => 'api/user/addAddress',
    'updateAddress' => 'api/user/updateAddress',
    'delAddress' => 'api/user/delAddress',
    'comment' => 'api/user/addComment',
    'myAddress' => 'api/user/myAddress',
    'myOrders' => 'api/user/myOrders',
]);
Route::get([
    'cates'   =>  'api/index/cates',
    'getCates'   =>  'api/index/getCates',
    'goods'   =>  'api/index/goods',
    'goodsInfo'   =>  'api/index/goodsInfo'
]);

